# VITA 中间件
if(DEFINED ENV{VITA_ROOT})
    message(STATUS "中间件环境变量 VITA_ROOT: $ENV{VITA_ROOT}")
else()
    message(STATUS "NOT DEFINED VITA_ROOT VARIABLES")
    set(ENV{VITA_ROOT} "C:/middleware/x64")#用户指定环境变量
    message(STATUS "用户指定环境变量 VITA_ROOT: $ENV{VITA_ROOT}")
endif()

include_directories( 
        $ENV{VITA_ROOT}/include
        $ENV{VITA_ROOT}/include/OMs 
        $ENV{VITA_ROOT}/include/TAO
        $ENV{VITA_ROOT}/include/TAO/tao
        $ENV{VITA_ROOT}/include/TAO/orbsvcs
)
link_directories($ENV{VITA_ROOT}/lib)
